From: Keir Fraser Date: Mon, 12 May 2008 09:13:15 +0000 (+0100) Subject: Fix xmexamples to reflect new meaning of cpus= config option. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14215^2~32 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=0653286ebb7495fe8496558e85198699f6aa8c3a;p=xen.git Fix xmexamples to reflect new meaning of cpus= config option. Signed-off-by: Masaki Kanno --- diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index 689a1bc216..0052c9a053 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -56,7 +56,8 @@ name = "ExampleHVMDomain" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 # Optionally define mac and/or bridge for the network interfaces. # Random MACs are assigned if not given. diff --git a/tools/examples/xmexample.vti b/tools/examples/xmexample.vti index 92e29c76c9..1aed0db090 100644 --- a/tools/examples/xmexample.vti +++ b/tools/examples/xmexample.vti @@ -33,7 +33,8 @@ name = "ExampleVTIDomain" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 # Log2 of VHPT size, default=23 (8MB), minimum=15 (32KB). # In Windows OS, smaller size shows better performance. diff --git a/tools/examples/xmexample1 b/tools/examples/xmexample1 index 357ad78bb5..1a5c4d999e 100644 --- a/tools/examples/xmexample1 +++ b/tools/examples/xmexample1 @@ -33,7 +33,8 @@ name = "ExampleDomain" # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 # Number of Virtual CPUS to use, default is 1 #vcpus = 1 diff --git a/tools/examples/xmexample2 b/tools/examples/xmexample2 index 5f9329d3af..12b9b0f6ca 100644 --- a/tools/examples/xmexample2 +++ b/tools/examples/xmexample2 @@ -62,7 +62,8 @@ name = "VM%d" % vmid # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 #cpus = "%s" % vmid # set based on vmid (mod number of CPUs) # Number of Virtual CPUS to use, default is 1 diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3 index 09eb3744d2..8610fcc483 100644 --- a/tools/examples/xmexample3 +++ b/tools/examples/xmexample3 @@ -62,7 +62,8 @@ name = "VM%d" % vmid # List of which CPUS this domain is allowed to use, default Xen picks #cpus = "" # leave to Xen to pick #cpus = "0" # all vcpus run on CPU0 -#cpus = "0-3,5,^1" # run on cpus 0,2,3,5 +#cpus = "0-3,5,^1" # all vcpus run on cpus 0,2,3,5 +#cpus = ["2", "3"] # VCPU0 runs on CPU2, VCPU1 runs on CPU3 cpus = "%s" % vmid # set based on vmid (mod number of CPUs) #----------------------------------------------------------------------------